<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Files/index',array('id'=> $eid))}">共享文件</a></li>
        <li class="active"><a href="">上传文件</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('doadd')}" enctype="multipart/form-data">


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>文件
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="file" class="form-control" name="file">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>文件名(文件描述)
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="fileName">
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>开放下载
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="checkbox" class="form-control" name="isuse">
            </div>
        </div>


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">

                <input type="hidden" name="eid" value="{$eid}">

                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>